<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Trường Thành - Quản lý hợp đồng</title>

    <meta name="description" content="overview & stats">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/font-awesome.min.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/font-opensans.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/datepicker.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/ace.min.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/ace-rtl.min.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/ace-skins.min.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/fullcalendar.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/jquery-ui-1.10.3.full.min.css">
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-1.9.1.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery-ui-1.10.3.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/ace-extra.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/bootstrap.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/bootstrap-datepicker.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.mask.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.ui.touch-punch.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/fullcalendar.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/bootbox.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/ace-elements.min.js"></script>
    <script src="<?php echo Yii::app()->theme->baseUrl; ?>/js/ace.min.js"></script>
</head>
<body class="login-layout" onLoad="document.formlogin.username.focus()">
<div class="main-container">
    <div class="main-content">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="login-container">
                    <div class="center">
                        <h1>
                            <i class="icon-leaf green"></i>
                            <span class="red">Report</span>
                            <span class="white">Management</span>
                        </h1>
                        <h4 class="blue">© Truong Thanh Printing</h4>
                    </div>

                    <div class="space-6"></div>

                    <div class="position-relative">
                        <div id="login-box" class="login-box visible widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header blue lighter bigger">
                                        <i class="icon-coffee green"></i>
                                        Vui lòng nhập thông tin
                                    </h4>

                                    <div class="space-6"></div>
                                    <?php
                                        $form = $this->beginWidget('CActiveForm', array(
                                            'id' => 'user-form',
                                        ));
                                        echo CHtml::hiddenField('returnUrl',Yii::app()->user->returnUrl);
                                    ?>
                                    <form name="formlogin" action="" method="POST">
                                        <input type="hidden" name="login">
                                        <fieldset>
                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <?php echo $form->textField($model, 'username', array(
                                                        'class' => 'validate[required] form-control',
                                                        'style' => 'border: 1px solid #ddd;color: black;'
                                                    )); ?>
                                                    <i class="icon-user"></i>
                                                </span>
                                                <div class="fix"><?php echo $form->error($model, 'username'); ?></div>
                                            </label>

                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <?php echo $form->passwordField($model, 'password', array(
                                                        'class' => 'validate[required] form-control',
                                                        'style' => 'border: 1px solid #ddd;color: black;'
                                                    )); ?>
                                                    <i class="icon-lock"></i>
                                                </span>
                                                <div class="fix"><?php echo $form->error($model, 'password'); ?></div>
                                            </label>

                                            <div class="space"></div>

                                            <div class="clearfix">
                                                <label class="inline">
                                                    <input type="checkbox" name="setcookie" class="ace">
                                                    <span class="lbl"> Nhớ cho lần sau</span>
                                                </label>

                                                <button type="submit" class="width-35 pull-right btn btn-sm btn-primary">
                                                    <i class="icon-key"></i>
                                                    Đăng nhập
                                                </button>
                                            </div>

                                            <div class="space-4"></div>
                                        </fieldset>
                                    </form>
                                    <?php $this->endWidget(); ?>

                                </div><!-- /widget-main -->

                                <div class="toolbar clearfix">
                                    <div>
                                        <a href="#" onclick="show_box(&#39;forgot-box&#39;); return false;" class="forgot-password-link">
                                            <i class="icon-arrow-left"></i>
                                            Quên mật khẩu rồi?
                                        </a>
                                    </div>

                                </div>
                            </div><!-- /widget-body -->
                        </div><!-- /login-box -->

                        <div id="forgot-box" class="forgot-box widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header red lighter bigger">
                                        <i class="icon-key"></i>
                                        Retrieve Password
                                    </h4>

                                    <div class="space-6"></div>
                                    <p>
                                        Enter your email and to receive instructions
                                    </p>

                                    <form>
                                        <fieldset>
                                            <label class="block clearfix">
														<span class="block input-icon input-icon-right">
															<input type="email" class="form-control" placeholder="Email">
															<i class="icon-envelope"></i>
														</span>
                                            </label>

                                            <div class="clearfix">
                                                <button type="button" class="width-35 pull-right btn btn-sm btn-danger">
                                                    <i class="icon-lightbulb"></i>
                                                    Send Me!
                                                </button>
                                            </div>
                                        </fieldset>
                                    </form>
                                </div><!-- /widget-main -->

                                <div class="toolbar center">
                                    <a href="#" onclick="show_box(&#39;login-box&#39;); return false;" class="back-to-login-link">
                                        Quay lại đăng nhập
                                        <i class="icon-arrow-right"></i>
                                    </a>
                                </div>
                            </div><!-- /widget-body -->
                        </div><!-- /forgot-box -->
                    </div><!-- /position-relative -->
                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div>
</div>
</body>
</html>